package com.magicman.openfeigndemo.demos.feignClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "demo-magicman",
        fallbackFactory = MyFallbackFactory.class)
public interface DemoFeign {

    @GetMapping("/demo/feign")
    String call();
}
